#ifndef THREADCONTENT_H
#define THREADCONTENT_H
#include <QThread>
#include <iostream>

class ThreadContent : public QThread
{
    Q_OBJECT
public:   
    ThreadContent();
    void setMessage(QString message);
    void stop();

private:
    void run();

    void sendMessage();

    QString messageStr;
    volatile bool stopped;
signals:
    sendSignal(QString message);

};

#endif // THREADCONTENT_H
